<script type="text/javascript">
	function doSearchCustomerInfo(value) {
		
	}
	
	//表格查询  
	function reloadCustomerSetPrice() {
		var params = customerSetPrice_list.datagrid('options').queryParams; //先取得 datagrid 的查询参数  
		printLog(params);
		customerSetPrice_list.datagrid('reload'); //设置好查询参数 reload 一下就可以了  
		customerSetPrice_list.datagrid('unselectAll');
		customerSetPrice_list.datagrid('uncheckAll');
	}
	
	function clearcustomerSetPriceSearch() {
		setGridSearchParams('customerSetPrice_list','customerSetPriceSearchForm',true,reloadCustomerSetPrice);
	}
	
	//根据条件查询
	function customerSetPriceSearch() {
		setGridSearchParams('customerSetPrice_list','customerSetPriceSearchForm',false,reloadCustomerSetPrice);
	}
</script>

<div class="easyui-layout" data-options="fit:true">
	<div data-options="region: 'west', title: '客户列表',border:false, split: true," style="width: 580px;">
		<@eu.datagrid id="customerSetPrice_list" toolbar="#customerSetPrice_search" idField="id"
			 url="customerInfo.do?loadList" rownumbers="true"
			 item="com.xdtech.ad.vo.CustomerInfoItem"/>
		
		<div id="customerSetPrice_search">
			<div style="margin-bottom:5px;padding-left:5px;margin-top: 5px;">
				<form id="customerSetPriceSearchForm">
					<!-- 防止form表单里只有一个text元素时候，按enter键自动提交问题 -->
					<input style="display:none" />
					<table>
						<tr>
							<td>名称：</td>
							<td><input class="easyui-validatebox textbox" name="name" /></td>
							<td>
								<@eu.linkbutton showName="查询" iconCls="icon-search" onclick="customerSetPriceSearch()"/>
	 					 		<@eu.linkbutton showName="清空" iconCls="icon-clear" onclick="clearcustomerSetPriceSearch()"/>
 					 		</td>
						</tr>
					</table>
				</form>
				
			</div>
			<div id="customerInfo_toolbar" style="height: auto">
				<@eu.linkbutton showName="刷新" shiro="ad:customerInfo:refresh" iconCls="icon-reload" onclick="reloadCustomerSetPrice()"/>
				
			</div>
		</div>
	</div>
	<div data-options="region:'center',border:false">
		
	</div>
</div>